/**
 * Created by Administrator on 2017/5/22.
 */
var mongoose = require('./model');

// 创建模型
var zhenshiSchema = new mongoose.Schema({

});
var zhenshiInfo = mongoose.model('zhenshi', zhenshiSchema);
/*查找文章*/
exports.zhenshiwenzhang = function (condition,callback) {
    zhenshiInfo.find(condition,function (err, doc) {
        if (err)
            throw err;
        console.log(doc);
        callback(doc);
    })
};